console.log(arr);
let {index,length} = arr